home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 47.7z / BS1 part 47 / ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 4 of 7)[HD].7z / ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 4 of 7)[HD].adf / apa.lzh.parta / hlp_arexx6 < prev    next >
Text File  |  1994-03-17  |  21KB  |  828 lines

  1. \ApAssist
  2. \: - This is the Quick Help for the ARexx in IM R/t -
  3. \: ----------------------------------------------------------
  4. \:   Written by David E. Patterson
  5. \: ----------------------------------------------------------
  6.  
  7. \font topaz.font 8
  8. \tc 1
  9. \wr
  10. \lj
  11. \dd "imh_descriptor"
  12.  
  13. \index "hlp_arexx2/channel-current"
  14. \toc "imh_toc/toc"
  15. \help "aa_help/help
  16.  
  17. \node "colkeymax"
  18. \title "Color Keyed Max Merge"
  19. \next "colkeymaxrub"
  20. \prev ""
  21. \{ \tc 15 Colkeymax\} - Merges the secondary into the primary where colors in
  22. primary are not within the specified variance. 
  23.     
  24. Merges the secondary buffer into primary buffer where the color in the
  25. primary buffer is not within the specified variance.  The secondary buffer is
  26. scaled to the size of the selected merge area.
  27.     
  28. \nw    
  29. Usage - '\{ \tc 15 colkeymax\} '
  30.     
  31. \{ \ts bu Sample Script\} :
  32.     
  33. 'area';
  34. '\{ \tc 15 colkeymax\} ';
  35.     
  36. See Also: \{ \ts b \link "colkeymin" "colkeymin" \}
  37.     
  38. * User Interface: \{ \tc 15  Compose Panel
  39.                        Color Keyed Compositions
  40.                           Color Keyed Max Merge\}
  41.  
  42. \endnode
  43.  
  44. \node "colkeymaxrub"
  45. \title "Color Keyed Max Rub"
  46. \next "colkeymin"
  47. \prev "colkeymax"
  48. \{ \tc 15 Colkeymaxrub\} - Rubs through where primary buffer is not within
  49. variance.
  50.  
  51. The Secondary Buffer is rubbed through into the Primary Buffer where the
  52. color in the Primary is not within the variance limit.  The Secondary Buffer
  53. is scaled to the size of the selected merge area.
  54.      
  55. \nw    
  56. Usage - '\{ \tc 15 colkeymaxrub\} '
  57.         
  58. \{ \ts bu Sample Script\} :
  59.     
  60. 'area';
  61. '\{ \tc 15 colkeymaxrub\} ';
  62.     
  63. See Also: \{ \ts b \link "colkeyminrub" "colkeyminrub"\}
  64.  
  65. * User Interface: \{ \tc 15  Compose Panel
  66.                        Color Keyed Compositions
  67.                            Color Keyed Max Rub Thru\}
  68.  
  69. \endnode
  70.  
  71. \node "colkeymin"
  72. \title "Color Keyed Min"
  73. \next "colkeyminrub"
  74. \prev "colkeymaxrub"
  75. \{ \tc 15 Colkeymin\} - Merges where color in primary is within the variance.
  76.  
  77. Merges the secondary buffer into primary buffer where the color in the
  78. primary buffer is within the specified variance.  The secondary buffer is
  79. scaled to the size of the selected merge area. 
  80.  
  81. \nw    
  82. Usage - '\{ \tc 15 colkeymin\} '
  83.  
  84. \{ \ts bu Sample Script\} :
  85.  
  86. 'area';
  87. '\{ \tc 15 colkeymin\} ';
  88.  
  89. See Also: \{ \ts b \link " colkeymax " "colkeymax"\}
  90.     
  91. * User Interface: \{ \tc 15  Compose Panel
  92.                        Color Keyed Compositions
  93.                            Color Keyed Min Merge\}
  94.  
  95. \endnode
  96.  
  97. \node "colkeyminrub"
  98. \title "Color Keyed Min Rub"
  99. \next "colkeysmax"
  100. \prev "colkeymin"
  101. \{ \tc 15 Colkeyminrub\} - Rubs through where color in the primary is within
  102. the specified variance.
  103.  
  104. The secondary buffer is rubbed through into the primary buffer where the
  105. color in the primary buffer is within the variance limit. The secondary
  106. buffer is scaled to the size of the selected merge area.
  107.  
  108. \nw    
  109. Usage - '\{ \tc 15 colkeyminrub\} '
  110.  
  111. \{ \ts bu Sample Script\} :
  112.     
  113. 'area';
  114. '\{ \tc 15 colkeyminrub\} ';
  115.     
  116. See Also: \{ \ts b \link "colkeymaxrub" "colkeymaxrub" \}
  117.  
  118. * User Interface: \{ \tc 15  Compose Panel
  119.                        Color Keyed Compositions
  120.                            Color Keyed Min Rub Thru\}
  121.  
  122. \endnode
  123.  
  124. \node "colkeysmax"
  125. \title "Color Keyed Secondary Max Rub"
  126. \next "colkeysmaxrub"
  127. \prev "colkeyminrub"
  128. \{ \tc 15 Colkeysmax\} -  Merges where color in the secondary buffer is not
  129. within the variance.
  130.     
  131. Merges the secondary buffer into the primary buffer where the color in the
  132. secondary buffer is not within variance.  The secondary buffer is scaled to
  133. the size of the selected merge area.
  134.     
  135. \nw    
  136. Usage - '\{ \tc 15 colkeysmax\} '
  137.     
  138. \{ \ts bu Sample Script\} :
  139.     
  140. 'area';
  141. '\{ \tc 15 colkeysmax\} ';
  142.     
  143. See Also: \{ \ts b \link "colkeysmin" "colkeysmin"\}
  144.     
  145. * User Interface: \{ \tc 15  Compose Panel
  146.                        Color Keyed Compositions
  147.                            Keyed Sec Max Merge\}
  148.  
  149. \endnode
  150.  
  151. \node "colkeysmaxrub"
  152. \title "Color Keyed Secondary Max Rub" 
  153. \next "colkeysmin"
  154. \prev "colkeysmax"
  155. \{ \tc 15 Colkeysmaxrub\} - Merges where color in the secondary buffer is
  156. within the speciifed variance. 
  157.  
  158. The secondary buffer is rubbed through into the primary buffer where the
  159. color in the secondary buffer is not within the variance limit.  The
  160. secondary buffer is scaled to the size of the selected merge area. 
  161.      
  162. \nw    
  163. Usage - '\{ \tc 15 colkeysmaxrub\} '
  164.         
  165. \{ \ts bu Sample Script\} :
  166.     
  167. 'area';
  168. '\{ \tc 15 colkeysmaxrub\} ';
  169.     
  170. See Also: \{ \ts b \link "colkeysminrub" "colkeysminrub"\}
  171.     
  172. * User Interface: \{ \tc 15  Compose Panel
  173.                        Color Keyed Compositions
  174.                            Keyed Sec Max Rub Thru\}
  175.  
  176. \endnode
  177.  
  178. \node "colkeysmin"
  179. \title "Color Keyed Secondary Min Rub"
  180. \next "colkeysminrub"
  181. \prev "colkeysmaxrub"
  182. \{ \tc 15 Colkeysmin\} - Rubs through where color in secondary buffer is not
  183. within the specified variance.  
  184.     
  185. Merges the secondary buffer into primary buffer where the color in the
  186. secondary buffer is within variance.  The secondary buffer is scaled to the
  187. size of the selected merge area.
  188.     
  189. \nw    
  190. Usage - '\{ \tc 15 colkeysmin\} '
  191.     
  192. \{ \ts bu Sample Script\} :
  193.    
  194. 'area';
  195. '\{ \tc 15 colkeysmin\} ';
  196.  
  197. See Also: \{ \ts b \link "colkeysmax" "colkeysmax"\}
  198.     
  199. * User Interface: \{ \tc 15  Compose Panel
  200.                        Color Keyed Compositions
  201.                            Keyed Sec Min Merge\}
  202.  
  203. \endnode
  204.  
  205. \node "colkeysminrub"
  206. \title "Color Key Secondary Min Rub"
  207. \next "colorize"
  208. \prev "colkeysmin"
  209. \{ \tc 15 Colkeysminrub\} - Rubs through where color in the secondary buffer
  210. is within the specified variance.
  211.  
  212. The secondary buffer is rubbed through into the primary buffer where the
  213. color in the secondary buffer is within the variance limit.  The secondary
  214. buffer is scaled to the size of the selected merge area.
  215.  
  216. \nw    
  217. Usage - '\{ \tc 15 colkeysminrub\} '
  218.     
  219. \{ \ts bu Sample Script\} :
  220.     
  221. 'area';
  222. '\{ \tc 15 colkeysminrub\} ';
  223.     
  224. See Also: \{ \ts b \link "colkeysmaxrub " "colkeysmaxrub"\}
  225.     
  226. * User Interface: \{ \tc 15  Compose Panel
  227.                        Color Keyed Compositions
  228.                            Keyed Sec Min Rub Thru\}
  229.     
  230. \endnode
  231.  
  232. \node "colorize"
  233. \title "Colorize"
  234. \next "combine"
  235. \prev "colkeysminrub"
  236. \{ \tc 15 Colorize\} - Colorize selected area. 
  237.  
  238. Colorizes a selected region to the hue specified in it's parameter.  The hue
  239. can be specified from 0 to 360.
  240.  
  241. \nw    
  242. Usage - '\{ \tc 15 colorize <hue>\} '
  243.     
  244. \{ \ts bu Sample Script\} :
  245.         
  246. 'area';
  247. options results;
  248. 'askprop HUE: 180 0 360';
  249. hue = result;
  250. options;
  251. '\{ \tc 15 colorize\} ' hue;
  252.     
  253. * User Interface: \{ \tc 15  Process Panel
  254.                          Standard Adjustments
  255.                              Colorize\}
  256.  
  257. \endnode
  258.  
  259. \node "combine"
  260. \title "Combine"
  261. \next "connect"
  262. \prev "colorize"
  263. \{ \tc 15 Combine \} - Combines the secondary image into the primary
  264. positioned with the Top-Left at x1,y1 and with a merge size that is the same
  265. size as the secondary.
  266.  
  267. \nw
  268. Usage - '\{ \tc 15 combine <x1> <y1>\} '
  269.     
  270. \{ \ts bu Sample Script\} :
  271.     
  272. 'area';
  273. '\{ \tc 15 combine 23 34\} ';
  274.     
  275. See Also: \{ \ts b \link "disconnect" "disconnect"
  276.           \link "merge     " "hlp_arexx8/merge"\}
  277.     
  278. * User Interface: \{ \tc 15  Compose Panel
  279.                       Linear
  280.                           Merge\}
  281.  
  282.  
  283. \endnode
  284.  
  285. \node "connect"
  286. \title "Connect"
  287. \next "contline"
  288. \prev "combine"
  289. \{ \tc 15 Connect\} - Connects pixels that are simalar in color.
  290.  
  291. Connects pixels that are physically close and nearly the same color.
  292.  
  293. \nw    
  294. Usage - '\{ \tc 15 connect\} '
  295.     
  296. \{ \ts bu Sample Script\} :
  297.     
  298. 'area';
  299. '\{ \tc 15 connect\} ';
  300.     
  301. See Also: \{ \ts b \link "disconnect" "disconnect"\}
  302.     
  303. * User Interface: \{ \tc 15  Process Panel
  304.                       Filters
  305.                           Connect\}
  306.  
  307. \endnode
  308.  
  309. \node "contline"
  310. \title "Contour Line"
  311. \next "contour"
  312. \prev "connect"
  313. \{ \tc 15 Contline\} - Generates contour intervals.
  314.  
  315. Generates contour intervals that can be overlaid on the original image. 
  316.     
  317. \nw    
  318. Usage - '\{ \tc 15 <interval> <effect> <blackline> <overlay>\} '
  319.     
  320. \{ \ts bu Sample Script\} :
  321.    
  322. 'area';
  323. options results;
  324. 'askprop interval: 127 0 255';
  325. interval = result;
  326. 'askprop effect: 50 0 100';
  327. effect = result;
  328. 'askyn "White Line" "Black Line"';
  329. blackline = result;
  330. 'askyn "No Overlay" "Overlay"';
  331. overlay = result;
  332. options;
  333. '\{ \tc 15 contline\} ' interval effect blackline overlay ;
  334.     
  335. * User Interface: \{ \tc 15  Process Panel
  336.                        Special Effects
  337.                            Contour Line\}
  338.  
  339. \endnode
  340.  
  341. \node "contour"
  342. \title "Contour"
  343. \next "contrast"
  344. \prev "contline"
  345. \{ \tc 15 Contour\} - Contours a selected area.
  346.  
  347. Contours a selected region.  Color definitions are effectively removed by
  348. reducing the number of bits in the selected region. 
  349.     
  350. \nw    
  351. Usage - '\{ \tc 15 contour <interval>\} '
  352.     
  353. \{ \ts bu Sample Script\} :
  354.  
  355. 'area';
  356. options results;
  357. 'askprop Interval: 127 0 255';
  358. interval = result;
  359. options;
  360. '\{ \tc 15 contour\} ' interval;
  361.    
  362. See Also: \{ \ts b \link "decont" "decont"\}
  363.  
  364. * User Interface: \{ \tc 15  Process Panel
  365.                         Filters
  366.                            Contour\}
  367.  
  368. \endnode
  369.  
  370. \node "contrast"
  371. \title "Contrast"
  372. \next "coords"
  373. \prev "contour"
  374. \{ \tc 15 Contrast\} - Changes the contrast of the selected area.
  375.  
  376. Increases or decreases the contrast of a selected area.
  377.  
  378. \nw    
  379. Usage - '\{ \tc 15 contrast <%>\} '
  380.     
  381. \{ \tc 15 Percent of change: -100 to 100\}
  382.     
  383. \{ \ts bu Sample Script\} :
  384.     
  385. 'area';
  386. options results;
  387. 'askprop Contrast 0 -100 100';
  388. cont = result;
  389. options;
  390. '\{ \tc 15 contrast\} ' cont; 
  391.    
  392. * User Interface: \{ \tc 15  Process Panel
  393.                       Standard Adjustments
  394.                           Contrast\}
  395.    
  396.  
  397.  
  398. \endnode
  399.  
  400. \node "coords"
  401. \title Coordinates
  402. \next "current"
  403. \prev "contrast"
  404. \{ \tc 15 Coords\} - Displays the current image's  X and Y coordinates.
  405.  
  406. Displays X and Y Coordinates relative to the image during operations such as
  407. selecting rectangular area or selecting an area to be flood filled.
  408. Coordinates can be displayed at the top or bottom of the image area.
  409.     
  410. \nw    
  411. Usage - '\{ \tc 15 coords <show> <top>\} '
  412.     
  413. \{ \ts bu Sample Script\} :
  414.  
  415. options results;
  416. 'askyn "Hide Co-ordinates" "Show Coordinates"';
  417. show = result;
  418. 'askyn "Top" "Bottom"';
  419. position = result;
  420. options;
  421. '\{ \tc 15 coords\} ' show position;
  422. 'area';
  423. 'contrast 100';
  424.     
  425. * User Interface:\tc 15     Display Panel 
  426.                          Show Coords/ Coords at Bottom
  427.     
  428. \endnode
  429.  
  430. \node "current"
  431. \title "Current"
  432. \next "dedither"
  433. \prev "coords"
  434. \{ \tc 15 Current\} - Returns information about the current buffer.
  435.  
  436. Returns a string with the following information about the primary Buffer:
  437. Buffer Name, Buffer Number, X Dim, Y Dim, X Dim * Y Dim, Memory Used, Parent
  438. name, and the Parent Number.
  439.  
  440. \nw    
  441. Usage - '\{ \tc 15 current\} '
  442.     
  443. \{ \ts bu Sample Script\} :
  444.     
  445. options results;
  446. '\{ \tc 15 current\} ';
  447. info = result;
  448. options;
  449. parse var info bname','bnumber','xdim','ydim','xdimydim','memused','
  450.                    parentname','parentnumber;
  451. 'newbuff' xdim ydim; 
  452.     
  453.     
  454. \endnode
  455.  
  456. \node "dedither"
  457. \title "Dedither"
  458. \next "decont"
  459. \prev "current"
  460. \{ \tc 15 Dedither\} - Removes some of the dithering effect in the selected area.
  461.     
  462. \nw    
  463. Usage - '\{ \tc 15 dedither\} '
  464.     
  465. \{ \ts bu Sample Script\} :
  466.     
  467. 'area';
  468. '\{ \tc 15 dedither\} ';
  469.     
  470.     
  471. * User Interface: \{ \tc 15  Process Panel
  472.                       Filters
  473.                          De-dither\}
  474.  
  475.  
  476. \endnode
  477.  
  478. \node "decont"
  479. \title "De-Contour"
  480. \next "deriv"
  481. \prev "dedither"
  482. \{ \tc 15 Decont\} - De-Contours a selected region.
  483.  
  484. De-contours a selected region by adding colors between previously existing
  485. colors.
  486.     
  487. \nw    
  488. Usage - '\{ \tc 15 decont <horizontal> <vertical>\} '
  489.     
  490. \{ \tc 15 horizontal: 0 = No, 1 = Yes\}
  491. \{ \tc 15 vertical:   0 = No, 1 = Yes\}
  492.     
  493. \{ \ts bu Sample Script\} :
  494.     
  495. 'area';
  496. '\{ \tc 15 decont 1 1\} ';
  497.     
  498. See Also: \{ \ts b \link "contour" "contour"\}
  499.     
  500. * User Interface: \{ \tc 15  Process Panel
  501.                       Filters
  502.                          De-Contour\}
  503. \endnode
  504.  
  505. \node "deriv"
  506. \title "Derivative"
  507. \next "describe"
  508. \prev "decont"
  509. \{ \tc 15 Deriv\} - Changes region to a derivative of the change of colors.
  510.     
  511. \nw    
  512. Usage - '\{ \tc 15 deriv <effect> <monochrome> <direction>\} '
  513.     
  514. \{ \tc 15 effect: 0 to 100\}
  515. \{ \tc 15 monochrome 0 = No, 1 = Yes\}
  516. \{ \tc 15 direction  1 = horizontal, 2 = vertical, 3 = both\}
  517.  
  518. \{ \ts bu Sample Script\} :
  519.     
  520. 'area';
  521. '\{ \tc 15 deriv 98 0 3\} '; /* 98% effect, no monochrome, both directions */
  522.     
  523.     
  524. \endnode
  525.  
  526. \node "describe"
  527. \title "Describe"
  528. \next "dgun"
  529. \prev "deriv"
  530. \{ \tc 15 Describe\} - Returns details on a specified buffer.
  531.  
  532. Returns a string with the following information about the specified buffer:
  533. Buffer Name, Buffer Number, X Dim, Y Dim, X Dim * Y Dim, Memory Used,
  534. Parentname, and the Parent Number.
  535.  
  536. \nw    
  537. Usage - '\{ \tc 15 describe <Buffer_Number>\} '
  538.         
  539. \{ \ts bu Sample Script\} :
  540.     
  541. options results;
  542. '\{ \tc 15 describe 4\} ';
  543. info = result;
  544. options;
  545. parse var info bname','bnumber','xdim','ydim','xdimydim','memused','
  546.    parentname','parentnumber;
  547. 'newbuff' xdim ydim; 
  548.   
  549.  
  550. \endnode
  551.  
  552. \node "dgun"
  553. \title "Dgun"
  554. \next "digicorr"
  555. \prev "describe"
  556. \{ \tc 15 Dgun\} - Physically displaces pixels to be realigned.
  557.  
  558. \nw   
  559. Usage - '\{ \tc 15 dgun <horizontal> <vertical> <red> <green> <blue>\} '
  560.     
  561. \{ \tc 15 Horizontal (Displacement): -100 to 100 (in tenths of pixels)\}
  562. \{ \tc 15 Vertical (Displacement):   -100 to 100 (in tenths of pixels)\}
  563.     
  564. \{ \tc 15     Red:    0 = No,  1 = Yes\}
  565. \{ \tc 15     Green:  0 = No,  1 = Yes\}
  566. \{ \tc 15     Blue:   0 = No,  1 = Yes\}
  567.     
  568. \{ \ts bu Sample Script\} :
  569.     
  570. 'area';
  571. '\{ \tc 15 dgun 50 50 0 0 1\} '; 
  572.     
  573. *User Interface: \{ \tc 15  Process Panel
  574.                      Geometric Transformation
  575.                          Realign Color Guns\}
  576.  
  577. \endnode
  578.  
  579. \node "digicorr"
  580. \title "Digital Correction"
  581. \next "disconnect"
  582. \prev "dgun"
  583. \{ \tc 15 Digicorr\} - Preforms a precise correction on any image.
  584.  
  585. Similar to a three channel eletronic amplifier, \{ \tc 15 Digicorr \} makes
  586. it possible to correct any RGB image source for linear contrast and
  587. brightness problems.  If parameters are omitted an estimated best correction
  588. is applied. 
  589.     
  590. \nw    
  591. Usage - '\{ \tc 15 digicorr [rc] [rs] [gc] [gs] [bc] [bs]\} '
  592.     
  593.     \{ \tc 15 rc = Red center from 0 to 255\}
  594.     \{ \tc 15 rs = Red slope from 0 to 200\}
  595.     \{ \tc 15 gc = Green center from 0 to 255\}
  596.     \{ \tc 15 gs = Green slope from 0 to 200\}
  597.     \{ \tc 15 bc = Blue center from 0 to 255\}
  598.     \{ \tc 15 bs = Blue slope from 0 to 200\}
  599.     
  600. \{ \ts bu Sample Script\} :
  601.     
  602. 'entire';
  603. '\{ \tc 15 digicorr 20 23 34 38 23 20\} ';
  604.     
  605. \endnode
  606.  
  607.  
  608. \node "disconnect"
  609. \title "Disconnect"
  610. \next "displaymode"
  611. \prev "digicorr"
  612. \{ \tc 15 Disconnect\} - Disconnects brighter lines in image
  613.     
  614. Connects regions that are darker than the surrounding area and connects them
  615. when they are close together physically and nearly the same colors.
  616.     
  617. \nw    
  618. Usage - '\{ \tc 15 disconnect\} '
  619.     
  620. \{ \ts bu Sample Script\} :
  621.     
  622. 'area';
  623. '\{ \tc 15 disconnect\} ';
  624.  
  625. See Also: \{ \ts b \link "connect" "connect"\}
  626.     
  627. * User Interface: \{ \tc 15    Process Panel
  628.                         Filters
  629.                             Disconnect\}
  630. \endnode
  631.  
  632.  
  633.  
  634. \node "displaymode"
  635. \title "Displaymode"
  636. \next "dome"
  637. \prev "disconnect"
  638. \{ \tc 15 Displaymode\} - Changes display mode.
  639.  
  640. This command changes the display mode within the image processing software.
  641. It has no effect upon the image itself, nor upon output render results.  In
  642. the following table, \{ \ts b Q \} is used to specify the [quality] switch. 
  643.     
  644.     
  645. \nw    
  646. Usage - '\{ \tc 15 displaymode <mode> <lace>  [quality]\} ' for HAM-E use
  647.         '\{ \tc 15 displaymode <mode> <lace>\} '            for Imagemaster R/t
  648.         '\{ \tc 15 displaymode <mode> <resolution>\} '      for FireCracker 
  649.            
  650. \{ \ts bu Imagemaster R/t - HAM-E mode\}
  651.     
  652. \{ \ts b Mode\} :      \{ \tc 15 0 = luma, 1 = avg, 2 = reg Ord Dither
  653.            3 = HAM-E 24 bit (depends on Q flag)
  654.            4 = HAM-E 18 bit (depends on Q flag)
  655.            5 = EDD 256 colors\}
  656.     
  657. \{ \ts b Lace\} :      \{ \tc 15 0 = non-lace, 1 = lace display\}
  658.     
  659. \{ \ts b Quality\} :   \{ \tc 15 0 = normal, 1 = high quality\} 
  660.     
  661. \{ \ts bu Imagemaster R/t - regular mode\}
  662.     
  663. \{ \ts b Mode\} :      \{ \tc 15 0 = luma (in 16 shades)
  664.            1 = avg
  665.            2 = 16 color hi-res
  666.            3 = 32 color lo-res 
  667.            4 = half-brite 5 = HAM (fast) 6 = HAM (quality)\}
  668.           
  669. \{ \ts b Lace\} :      \{ \tc 15 0 = non-lace, 1 = lace display\}
  670.      
  671. \{ \ts bu Imagemaster R/t - FireCracker use\}
  672.     
  673. \{ \ts b Mode\} :       \{ \tc 15 0 = luma (256 shades)
  674.             1 = avg
  675.             2 = color (24 bit)\}
  676.     
  677. \{ \ts b Resolution\} : \{ \tc 15 0 = low res
  678.                         1 = med-res
  679.                         2 = med-res 
  680.                         3 = hi-res\}
  681.                                       
  682.  
  683. Note that the \{ \tc 15 DisplayMode \} ARexx command will automatically
  684. select HAM8 if told to change to "HAM" in an AGA machine.
  685.     
  686.     
  687. \{ \ts bu Sample Script:\}
  688.     
  689. options results;
  690. 'askyn "Luma" "Average"';
  691. mode = result;
  692. 'askyn "Non-Lace" "Lace Display"';
  693. lace = result;
  694. options;
  695. '\{ \tc 15 displaymode\} ' mode lace;
  696.         
  697.  
  698. * User Interface: \{ \tc 15  Display Panel\}
  699.  
  700. \endnode
  701.  
  702.  
  703. \node "dome"
  704. \title "Dome"
  705. \next "draw"
  706. \prev "displaymode"
  707. \{ \tc 15 Dome \} - Pushes the center of selected region to the edge.
  708.  
  709. Creates an optical distortion similar to that of a concave lens.
  710.     
  711. \nw
  712. Usage - '\{ \tc 15 dome <distortion>\} '
  713.     
  714. \{ \tc 15 distortion: 0% to 100% (default 100%)\}
  715.     
  716. \{ \ts bu Sample Script\} :
  717.     
  718. 'area';
  719. options results;
  720. 'asknumber Xwide: 50 0 100';
  721. radius = result;
  722. 'askprop "Distortion:" 50 0 100';
  723. effect = result;
  724. options;
  725. '\{ \tc 15 dome\} ' effect;
  726.  
  727. See Also: \{ \ts b \link "caric" "hlp_arexx5/caric"\}
  728.     
  729. * User Interface: \{ \tc 15   Process Panel
  730.                         Geometric Transformations
  731.                             Dome\}
  732.  
  733. \endnode
  734.  
  735. \node "draw"
  736. \title "Draw"
  737. \next "droop"
  738. \prev "dome"
  739. \{ \tc 15 Draw \} - The draw command is used in conjunction with the other
  740. ARexx paint commands to specify the end position of a line.  The command will
  741. draw the current brush (pen down) to a new position, but no actual painting
  742. will be done until the stroke command is called.  The draw ommand also allows
  743. you to specifyt a pressure related transparency.  A pressure setting of 255
  744. will be a brush that is completly opaque, and a pressure of 0 will result in
  745. a completely transparent brush.
  746.  
  747. \nw
  748. Usage - '\{ \tc 15 draw <x> <y> [pressure]\} '
  749.  
  750. Where X and Y represent the end position for the line on the image.  The
  751. pressure parameter is used to set a a variable transparency for the line.
  752. This parameter can be used to simulate the effect of a pressure sensitive
  753. tablet.  The pressure can range between 0 (transparent) and 255 (opaque).
  754.  
  755. \{ \ts bu Sample Script\} :
  756. /* arexx Painting Example */
  757. address('IM_Port');
  758. options results;
  759. 'askprop "Initial X Position: " 100 0 320';
  760. x1 = result;
  761. 'askprop "Initial Y Position: "100 0 200';
  762. y1 = result;
  763. 'askprop "Final X Position: " 100 0 320';
  764. x2 = result;
  765. 'askprop "Final Y Position: " 100 0 200';
  766. y2 = result;
  767. 'askprop "Specify the Pressure Amount: " 100 0 255';
  768. press = result;
  769. options;
  770. 'newline';
  771. 'move ' x1 y1;
  772. '\{ \tc 15 draw\} ' x2 y2 press;
  773. 'stroke';
  774. 'finish';
  775.  
  776. \endnode
  777.  
  778. \node "droop"
  779. \title "Droop"
  780. \next "dynamic"
  781. \prev "draw"
  782. \{ \tc 15 Droop \} - Randomly droops image horizontally and vertically.
  783.  
  784. \nw    
  785. Usage - '\{ \tc 15 droop <hor_len> <vert_len>\} '
  786.     
  787. \{ \tc 15 Hor_len:  Horizontal Length in Pixels\}
  788. \{ \tc 15 Vert_len: Vertical Length in Pixels\}
  789.     
  790. \{ \ts bu Sample Script\} :
  791.     
  792. 'area'; 
  793. options results;
  794. 'askprop Horizontal_length: 50 0 100';
  795. Hor = result;
  796. 'askprop Vertical_length: 50 0 100';
  797. vert = result;
  798. options;
  799. '\{ \tc 15 droop\} ' hor vert;
  800.     
  801. * User Interface: \{ \tc 15   Process Panel
  802.                         Geometric Transformations
  803.                             Droop\}
  804.  
  805. \endnode
  806.  
  807.  
  808. \node "dynamic"
  809. \title "Dynamic"
  810. \next "hlp_arexx7/edge"
  811. \prev "droop"
  812. \{ \tc 15  Dynamic \} - Creates a dynamic range in the selected area.
  813.     
  814. \nw    
  815. Usage - '\{ \tc 15 dynamic\} '
  816.     
  817. \{ \ts bu Sample Script\} :
  818.     
  819. 'area';
  820. '\{ \tc 15 dynamic\} ';
  821.     
  822. * User Interface: \{ \tc 15  Process Panel
  823.                       Filters
  824.                          Dynamic\}
  825.  
  826. \endnode
  827.  
  828.